package org.hk.kg;

import java.awt.Color;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Insets;

import javax.swing.border.AbstractBorder;
import javax.swing.border.Border;

public class KGUiGloabel {
	private static class StatusBarBorder extends AbstractBorder 
	{
		@Override
		public Insets getBorderInsets(Component arg0) {
			return new Insets(3,3,3,3);
		}

		@Override
		public void paintBorder(Component arg0, Graphics arg1, int arg2,
				int arg3, int arg4, int arg5) {
			Graphics2D graph = (Graphics2D) arg1;
			graph.setColor(Color.gray);
			Insets insets = getBorderInsets(arg0);
			graph.drawLine(0, 0, arg4, 0);
		}
	}
	
	public static Border BOTTOM_BORDER = new StatusBarBorder();
}
